<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>支付结果</title>
</head>
<body>
<div id="res"></div>
</body>
</html>
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script>
    setInterval(function () {
        lx();
    }, 1000);

    function lx() {
        $.ajax({
            type:'post',
            url:'<?=url('index/Test/allinpay_notify')?>',
            data:'',
            success: function (res) {
                console.log(res);
            }
        });
    }
</script>